import { NgModule, Optional, SkipSelf } from '@angular/core';
import { throwIfAlreadyLoaded } from './module-import-guard';
import { CacheService } from '@core/routes-services/cache.service';
import { LoginService } from '@core/routes-services/login.service';
import { CurrUserService } from '@core/routes-services/Observer-service/curr-user.service';


@NgModule({
  providers: [
    CacheService,
    LoginService,
    CurrUserService,
  ]
})
export class CoreModule {
  constructor( @Optional() @SkipSelf() parentModule: CoreModule) {
    throwIfAlreadyLoaded(parentModule, 'CoreModule');
  }
}
